home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 November
/
Macworld (1999-11).dmg
/
Updaters
/
WhiteCap 3.0.4
/
WhiteCap Source.sit
/
WhiteCap Source
/
Headers
/
World.h
< prev
next >
Wrap
Text File
|
1998-12-02
|
522b
|
34 lines
#pragma once
#include "V3.h"
#include "Plane.h"
class Camera;
#define MAX_PTS 1000
#define MAX_LINES 1000
class World {
public:
World();
void setPt( V3& inPt, int inPtNum );
void setPt( PFloat inX, PFloat inY, PFloat inZ, int inPtNum );
void addLine( int inStart, int inEnd );
void render( Camera& inCamera );
void clear();
protected:
V3 mPt[ MAX_PTS ];
long mLines[ MAX_LINES ];
int mNumPts;
int mLineIdxEnd;
int mLineIdxOffset;
};